package cn.iocoder.an.module.mold.controller.admin.stockiorecords.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 模具出入库记录新增/修改 Request VO")
@Data
public class StockIoRecordsSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "13576")
    private Long id;

    @Schema(description = "出入库类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "出入库类型不能为空")
    private Integer inOrOut;

    @Schema(description = "单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "单号不能为空")
    private String code;

    @Schema(description = "部门Id", example = "15832")
    private Long deptId;

    @Schema(description = "仓库Id", example = "13006")
    private Long warehouseId;

    @Schema(description = "储位id", example = "833")
    private Long storageId;

    @Schema(description = "模具Id", example = "2765")
    private Long accountId;

    @Schema(description = "图号id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31782")
    @NotNull(message = "图号id不能为空")
    private Long drawingNoId;

    @Schema(description = "操作人", example = "3359")
    private Long operatorId;

    @Schema(description = "操作时间")
    private LocalDateTime operateTime;

    @Schema(description = "描述", example = "随便")
    private String description;

}